package com.jiuxian.definition;

public class Main {

    public static void main(String[] args) {
        AbstractFactory factory = new ConcreteFactory();
        Product1 product = factory.createProduct(Product1.class);
        product.method();
    }
}
